package com.itheima02;

public class JingLi extends Person{
    private String jiangJin;

    @Override
    public void work() {
        System.out.println("管理他人");
    }


    public JingLi(){

    }
    public JingLi(String di, String name, String wage, String jiangJin) {
        super(di, name, wage);
        this.jiangJin = jiangJin;
    }

    public String getJiangJin() {
        return jiangJin;
    }

    public void setJiangJin(String jiangJin) {
        this.jiangJin = jiangJin;
    }
}
